package cn.zebra.dev.product.module.group.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

@TableName("product_group")
@Getter
@Setter
public class ProductGroupEntity {

    @TableId(type = IdType.AUTO)
    @ApiModelProperty(hidden = true)
    private Long id;

    @ApiModelProperty("上级分组id")
    private Long groupId;

    @ApiModelProperty("商品id")
    private Long productId;

}
